from chapter5.regular_test.re_test_patterns import test_patterns

if __name__ == '__main__':
    text = 'This is some text -- with punctuation.'

    patterns = [
        ('[^-. ]+', "不包含-. 的串"),
        ('[^-. ]*', "不包含-. 的串"),
        ('[^-. ]?', "不包含-. 的串"),
    ]

    test_patterns(text=text, patterns=patterns)
